package LeapYearPkg;

/**
 * Created with IntelliJ IDEA.
 * User: ruchi
 * Date: 02/08/13
 * Time: 8:10 PM
 * To change this template use File | Settings | File Templates.
 */
public class LeapYear {
    public Boolean isLeapYearOrNot(int givenYear) {
        if(givenYear%4==0 && (givenYear%100!=0 || givenYear%400==0))
            return true;
        else
            return false;

    }
}
